<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>

   <html:form action="/welcome" focus="userid">
   <div onKeyPress="return checkSubmit(event, '/welcome.do?action=login')">
 		<table align="center" border="0">
            <tr>
               <td>&nbsp;</td>
            </tr>
            <tr>
               <td>
                  <fieldset>
                  	 <legend class="legend" align="right">Primary  <span> log in </span></legend>
                  	 <table>
                  	    <tr>
                  	       <td colspan="3" class="errortext_center">
							  <html:errors property="globalmessage"/><br />
							</td>
                  	    </tr>                  	 
                  	    <tr>
                  	       <td class="formLabel">User Id:</td>
                  	       <td>
                  	          <html:text property="userid" />
                  	       </td>
                  	       <td>&nbsp;</td>
                  	    </tr>
                  	    <tr>
                  	       <td colspan="3">&nbsp;</td>
                  	    </tr>
                  	    <tr>
                  	       <td class="formLabel">Password:</td>
                  	       <td>
                  	          <html:password property="password"/>
                  	       </td>
                  	       <td>
                  	       		<input type="button" name="btnLogin" value="Login" onClick="submitForm('/welcome.do?action=login')"/>
                  	       </td>
                  	    </tr>
                  	    <tr>
                  	       <td colspan="3">&nbsp;</td>
                  	    </tr>
                  	 </table>
                  </fieldset>
               </td>
            </tr> 
            <tr>
               <td>&nbsp;</td>
            </tr>
		</table> 
   </div>
   </html:form>
